using System;
using System.Runtime.Serialization;

namespace DZTC.Base32Utility.Core.Base32
{
    [Serializable]
    public class InvalidCharacterException : DecoderException
    {
        public InvalidCharacterException()
            : this("Invalid character in input")
        {
        }

        public InvalidCharacterException(string message) : base(message)
        {
        }

        protected InvalidCharacterException(
            SerializationInfo info,
            StreamingContext context) : base(info, context)
        {
        }
    }
}